package com.bestcem.xm.member.grpc.service.param.extendfield;

import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description 创建枚举选项参数
 * @date 2021/7/21
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class InsertEnumItemParam {
    /**
     * 关联扩展字段标识
     */
    private String fieldId;

    @NotBlank(message = "枚举选项名称为空")
    private String name;

    /**
     * 枚举选项顺序
     */
    @NotNull(message = "枚举选项顺序为空")
    private Integer serial;

    @NotNull(message = "展示状态为空")
    private Boolean displayStatus;
}
